package  menu
{
	import ui.button.GCButton;

	import flash.display.Bitmap;
	import flash.display.Sprite;
	import flash.events.MouseEvent;
	
	/**
	 * A class representing a player's trophies and achievements
	 */
	public class GCTrophyRoom extends Sprite implements GCSuperMenu
	{
		
		private var _exitTrophyRoomButton:GCButton;
		
		public function GCTrophyRoom() 
		{
			// Background
			var background:Bitmap = GCResources.getResource("main_background");
			this.addChild(background);
			
			_exitTrophyRoomButton = new GCButton(onExit);
			
			init();
		}
		
		private function init():void
		{
			_exitTrophyRoomButton.addEventListener(MouseEvent.CLICK, onExit);
			
			_exitTrophyRoomButton.loadGraphic(GCResources.plate, 100, 30);
			_exitTrophyRoomButton.loadText("Exit");
			
			this.addChild(_exitTrophyRoomButton);
		}
		
		//----------------------------------------------------------------------
		//	EVENT HANDLERS
		//----------------------------------------------------------------------				
		
		private function onExit(event:MouseEvent):void
		{
			
		}
		
		//----------------------------------------------------------------------
		//	SUPER MENU METHODS
		//----------------------------------------------------------------------
		
		/**
		 * Method to call to refresh any dynamic parts on the menu
		 */
		public function refresh():void
		{
			
		}
		
		/**
		 * Method to enable list displays to scroll
		 */
		public function enableScrolling():void
		{
			
		}
		
		/**
		 * Method to disable list displays from scrolling
		 */
		public function disableScrolling():void
		{
			
		}
		
	}

}